//
//  MCPaySelectedLotteryModel.h
//  TLYL
//
//  Created by miaocai on 2017/6/30.
//  Copyright © 2017年 TLYL01. All rights reserved.
//
// ## : 连接字符串和参数

#define singleton_h(name) + (instancetype)shared##name;

#define singleton_m(name) \
static id _instance; \
+ (id)allocWithZone:(struct _NSZone *)zone \
{ \
    static dispatch_once_t onceToken; \
    dispatch_once(&onceToken, ^{ \
        _instance = [super allocWithZone:zone]; \
    }); \
    return _instance; \
} \
\
+ (instancetype)shared##name \
{ \
    static dispatch_once_t onceToken; \
    dispatch_once(&onceToken, ^{ \
        _instance = [[self alloc] init];\
    });\
    return _instance; \
} \
+ (id)copyWithZone:(struct _NSZone *)zone \
{ \
    return _instance; \
}


#import <Foundation/Foundation.h>

@interface MCPaySelectedLotteryModel : NSObject

//@property (nonatomic,strong) MCBasePWFModel *baseModel;
//
//@property (nonatomic,strong) NSArray *payArray;
//
//@property (nonatomic,strong) NSArray *shoppingCarArray;


@end



@interface MCPaySelectedCellModel : NSObject

/**拼接号码*/
@property (nonatomic,strong) NSString * haoMa;

/**拼接号码*/
@property (nonatomic,strong) NSMutableArray * haoMaArry;

/**玩法名称*/
@property (nonatomic,strong) NSString *WFName;

/**奖励金额*/
@property (nonatomic,strong) NSString * bonus;

/**注数*/
@property (nonatomic,strong) NSString * stakeNumber;

/**倍数*/
@property (nonatomic,strong) NSString * multiple;

/**购买金额*/
@property (nonatomic,strong) NSString * payMoney;


@end


@interface MCPaySLBaseModel : NSObject
singleton_h(MCPaySLBaseModel)
/**数据源*/
@property (nonatomic,strong) NSMutableArray<MCPaySelectedCellModel *> *dataSource;

/**总注数*/
@property (nonatomic,strong)NSString *stakeNumber;

/**金额*/
@property (nonatomic,strong)NSString *payMoney;

/**余额*/
@property (nonatomic,strong)NSString *balance;

/**彩种类型*/ //ssc
@property(nonatomic,strong) NSString *lotteryCategories;
@property(nonatomic,strong) NSString *czName;
@property(nonatomic,strong) NSString *czID;


/*
 * 增
 */
-(void)addDataSourceWithModel:(MCBasePWFModel  *)model;

/*
 * 删
 */
-(void)deleteDataSourceWithModel:(MCPaySelectedCellModel  *)model;

/*
 * 清空
 */
-(void)removeDataSource;
@end

























